package com.project.hqshorttaxi.service;

import com.project.hqshorttaxi.dto.CameraParam;
import com.project.hqshorttaxi.entity.Camera;

import java.util.List;

public interface CameraService {

    Camera getById(Integer id);

    void insert(Camera entity) throws Exception;

    void update(Camera entity) throws Exception;

    void delete(Integer id) throws Exception;

    List<Camera> list(CameraParam param);
}
